Total Complexity | 68 |
Dependencies | 4 |
Dependents | 1 |
Total lines | 604 |
Lines of code | 305 |
Logical lines of code | 133 |
Comment lines | 240 |
Methods | 12 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
_get_shipping_zones_data() | 36 | 20 | 90 | |
get_shipping_data() | 39 | 9 | 65 | |
_get_shipping_method_data() | 47 | 8 | 35 | |
_process_shipping_methods() | 54 | 9 | 19 | |
_get_filtered_shipping_methods() | 53 | 4 | 25 | |
_is_shipping_available() | 58 | 4 | 15 | |
maybe_init_wc_session() | 71 | 5 | 5 | |
format_variation_attributes() | 65 | 3 | 9 | |
_is_has_free_shipping() | 61 | 2 | 14 | |
_sort_free_shipping_method() | 64 | 2 | 12 | |
_setup_zone_and_package() | 59 | 1 | 15 | |
run() | 98 | 1 | 1 |